/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tvunetworks.service;

import com.tvunetworks.model.Account;

/**
 *
 * @author michael
 */
public interface AccountManager extends GenericManager<Account, String> {

    /**
     * 
     * @param username
     * @return
     */
    Account getAccount(String username);

    /**
     * 
     * @param username
     * @param password
     * @return
     */
    Account getAccount(String username, String password);

    /**
     * 
     * @param account
     */
    void updateAccount(Account account);

    /**
     * 
     * @param account
     */
    void insertAccount(Account account);
}
